package com.zxx.pattern.prototypePattern.prototype3_X.exce;

/**
 * @author zxx on 2020/12/24
 */
public class LoginImpl {

    public void login() {
        User user = new User();
        user.age = 22;
        user.name = "zzz";
        user.address = new Address("hz", "xh", "yjc");

        LoginSession.getInstance().setLoginUser(user);
    }

}
